package laborhazi;

public class Element {
	public int value = 0;
	public String name = null;
	
	public Element(int v, String n){
		value = v;
		name = new String(n);
	}
	public boolean isSmaller(Element other) {
		if (this.value < other.value) {
		return true;
		} else {
			return false;
		}
	}
}
